package mapper;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import pojo.Brand;

import java.util.List;

/**
 * BrandMapper接口
 */
public interface BrandMapper {
    //查询所有品牌
    @ResultMap("brandBaseMap")
    @Select("SELECT * FROM t_brand")
    List<Brand> selectAll();


}
